//package com.xyzh.stj.web.controller;
//
//
//import com.xyzh.stj.web.entity.OrganizationEntity;
//import com.xyzh.stj.web.service.OrganizationService;
//import com.xyzh.stj.web.service.impl.OrganizationServiceImpl;
//import com.xyzh.application.common.util.ResultHelper;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//import io.swagger.annotations.Api;
//import com.xyzh.application.base.controller.BasicController;
//
///**
// * <p>
// * 组织机构 前端控制器
// * </p>
// *
// * @author @JZB
// * @since 2023-10-29
// */
//@Api(tags = "组织机构模块")
//@RestController
//@RequestMapping("/organization")
//public class OrganizationController extends BasicController<OrganizationServiceImpl, OrganizationEntity> {
//
//    @Autowired
//    private OrganizationService organizationService;
//
//    @ApiOperation("查找全部组织信息")
//    @PostMapping("/selectAllCompany")
//    public ResultHelper selectAllCompany(@RequestBody OrganizationEntity organizationEntity) throws Exception {
//        return ResultHelper.succeed(organizationService.selectAllCompany(organizationEntity));
//    }
//
//
//    @ApiOperation("查找用户的组织结构树")
//    @PostMapping("/selectOrganizationTree")
//    public ResultHelper selectOrganizationTree() throws Exception {
//        return ResultHelper.succeed(organizationService.selectOrganizationTree());
//    }
//
//
//}
